package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 garden_special_date
 * 
 * @author ruoyi
 * @date 2025-01-03
 */
public class GardenSpecialDate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 年份 */
    @Excel(name = "年份")
    private Long year;

    /** 月份 */
    @Excel(name = "月份")
    private Long month;

    /** 日期 */
    @Excel(name = "日期")
    private Long day;

    /** 提示消息 */
    @Excel(name = "提示消息")
    private String message;

    /** 日期类型：FESTIVAL-节日/SOLAR_TERM-节气/HOLIDAY-假日 */
    @Excel(name = "日期类型：FESTIVAL-节日/SOLAR_TERM-节气/HOLIDAY-假日")
    private String type;

    /** 是否启用：0-禁用 1-启用 */
    @Excel(name = "是否启用：0-禁用 1-启用")
    private Integer active;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setYear(Long year) 
    {
        this.year = year;
    }

    public Long getYear() 
    {
        return year;
    }
    public void setMonth(Long month) 
    {
        this.month = month;
    }

    public Long getMonth() 
    {
        return month;
    }
    public void setDay(Long day) 
    {
        this.day = day;
    }

    public Long getDay() 
    {
        return day;
    }
    public void setMessage(String message) 
    {
        this.message = message;
    }

    public String getMessage() 
    {
        return message;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setActive(Integer active) 
    {
        this.active = active;
    }

    public Integer getActive() 
    {
        return active;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("year", getYear())
            .append("month", getMonth())
            .append("day", getDay())
            .append("message", getMessage())
            .append("type", getType())
            .append("active", getActive())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
